home *** CD-ROM | disk | FTP | other *** search
- /*
- ** IAExtractorExports.h
- */
-
- #ifndef __IAEXTRACTORTYPES__
- #include "IAExtractorTypes.h"
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #pragma export on
-
- EXTERN_API_C(IAResult) IAPluginInit(IAPluginInitBlockPtr initBlock, IAPluginRef* outPluginRef);
- EXTERN_API_C(IAResult) IAPluginTerm(IAPluginRef inPluginRef);
-
- EXTERN_API_C(IAResult) IAGetExtractorVersion(IAPluginRef inPluginRef, uint32* outPluginVersion);
-
- EXTERN_API_C(IAResult) IACountSupportedDocTypes(IAPluginRef inPluginRef, uint32* outCount);
- EXTERN_API_C(IAResult) IAGetIndSupportedDocType(IAPluginRef inPluginRef, uint32 inIndex,
- char** outMIMEType);
-
- EXTERN_API_C(IAResult) IAOpenDocument(IAPluginRef inPluginRef, IADocAccessorPtr inDoc,
- IADocRef* outDoc);
- EXTERN_API_C(IAResult) IACloseDocument(IADocRef inDoc);
-
- EXTERN_API_C(IAResult) IAGetTextRunInfo(IADocRef inDoc, char** outEncoding, char** outLanguage);
- EXTERN_API_C(IAResult) IAGetNextTextRun(IADocRef inDoc, void* buffer, uint32* size);
-
- #pragma export off
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif